/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.CT_TuyenTau_DAO;
import DTO.CT_TuyenTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class CT_TuyenTau_BUS {
    
     
    public static String Get_MaDT() throws SQLException{
        return CT_TuyenTau_DAO.Get_Ma_CT_TT();
    }
    public static ArrayList<CT_TuyenTau_DTO> GetALL(){
        return CT_TuyenTau_DAO.GetALL();
    }
    public static boolean Insert(CT_TuyenTau_DTO CT_TuyenTau){
        return CT_TuyenTau_DAO.Insert(CT_TuyenTau);
    }
    public static boolean Update(CT_TuyenTau_DTO CT_TuyenTau){
        return CT_TuyenTau_DAO.Update(CT_TuyenTau);
    }   
    public static boolean Delete(String MaCT_TT){
        return CT_TuyenTau_DAO.Delete(MaCT_TT);
    }
}
